package com.zcsy.manage.model.content;

import java.io.Serializable;
import java.util.Date;

/**
 * @Title: Model.java
 * @Package： com.zcsy.shop.model.system 
 * @Description: 通知公告模板
 *
 * @author lizhiheng yhrylzh@163.com
 * @Copyright: 2015 武汉中财数元信息技术有限公司 All rights reserved.
 * @date 2015年7月7日
 * @version 1.0
 * @see JDK1.7.0_75
 * @since
 */
public class AnnouncementModel implements Serializable {

    /**
     * 公告模板类序列化<br>
     */
	private static final long serialVersionUID = -2999462783977121083L;
	
	/**
	 * 主键<br>
	 */
	private Integer id;
	
	/**
	 * 模板名称<br>
	 */
	private String modelName;
	
	/**
	 * 公告模板类型：根据数据字典的值查询，表示公告类型<br>
	 */
	private Integer modelType;

    /**
     * 短信模板类型：根据数据字典的值查询，表示短信类型<br>
     */
    private Integer messageType;
	
    /**
	 * 创建时间<br>
	 */
	private Date createTime;
	
	/**
	 * 创建人<br>
	 */
	private Integer createPerson;
	
	/**
	 * 最后修改时间<br>
	 */
	private Date modifiedTime;
	
	/**
	 * 最后修改人<br>
	 */
	private Integer lastModifyUser;
	
	/**
	 * 模板内容<br>
	 */
	private String content;
	
	/**
	 * 备注信息<br>
	 */
	private String memo;
	
	/**
     * 状态信息：0删除，1不变<br>
     */
    private Integer state;
    
    /**
     * 模板类型：0短信，1公告<br>
     */
    private Integer type;

    /**
     * 创建人姓名<br>
     */
    private String createPersonName;
    
    /**
     * 修改人姓名<br>
     */
    private String modifyUserName;
    
    /**
     * 公告模板类型名<br>
     */
    private String modelTypeName;
    
    /**
     * 短信模板类型名<br>
     */
    private String messageTypeName;

    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public Integer getModelType() {
        return modelType;
    }

    public void setModelType(Integer modelType) {
        this.modelType = modelType;
    }
    
    public Integer getMessageType() {
        return messageType;
    }

    public void setMessageType(Integer messageType) {
        this.messageType = messageType;
    }

    public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getCreatePerson() {
		return createPerson;
	}

	public void setCreatePerson(Integer createPerson) {
		this.createPerson = createPerson;
	}

	public Date getModifiedTime() {
		return modifiedTime;
	}

	public void setModifiedTime(Date modifiedTime) {
		this.modifiedTime = modifiedTime;
	}

	public Integer getLastModifyUser() {
		return lastModifyUser;
	}

	public void setLastModifyUser(Integer lastModifyUser) {
		this.lastModifyUser = lastModifyUser;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}
	
	public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCreatePersonName() {
        return createPersonName;
    }

    public void setCreatePersonName(String createPersonName) {
        this.createPersonName = createPersonName;
    }

    public String getModifyUserName() {
        return modifyUserName;
    }

    public void setModifyUserName(String modifyUserName) {
        this.modifyUserName = modifyUserName;
    }
    
    public String getModelTypeName() {
        return modelTypeName;
    }

    public void setModelTypeName(String modelTypeName) {
        this.modelTypeName = modelTypeName;
    }
    
    public String getMessageTypeName() {
        return messageTypeName;
    }

    public void setMessageTypeName(String messageTypeName) {
        this.messageTypeName = messageTypeName;
    }

    @Override
    public String toString() {
        // TODO Auto-generated method stub
        return modifiedTime.toString()+lastModifyUser+createTime.toString()+createPerson+id+content;
    }
	
	
}
